package com.founder.bdyx.modules.sys.mapper;

import com.founder.bdyx.core.mapper.MyMapper;
import com.founder.bdyx.modules.sys.model.CommonDict;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommonDictMapper extends MyMapper<CommonDict> {
    List<CommonDict> getIsNotOwner(@Param("roleId") Integer roleId, @Param("keyword") String keyword);

    List<CommonDict> getIsOwner(@Param("roleId") Integer roleId, @Param("keyword") String keyword);

    CommonDict getMasterUserByDept(Integer deptId);

    List<CommonDict> isUnAllotUserList(Integer deptId);

    List<CommonDict> isAllotUserList(Integer deptId);
}